Skip to content

/nft-explorer new feature - search on sale for any token #438

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

pandablue0809
Copy link
Member

@pandablue0809 pandablue0809 requested a review from ihomp July 1, 2025 22:35
@@ -121,7 +137,7 @@ export default function NftsComponent({

const listTabList = [
{ value: 'nfts', label: t('tabs.all') },
{ value: 'onSale', label: t('tabs.onSale', { nativeCurrency }) }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of removing the usage of t('tabs.onSale') we need to update it in all languages.
we can just make it as "Listed".

t('tabs.onSale', { nativeCurrency }) will become t('tabs.onSale')

Copy link
Member

@ihomp ihomp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

view the comments

@@ -638,7 +677,7 @@ export default function NftsComponent({
(isValidTaxon(taxonQuery) ? ' ' + taxonQuery : '') +
(ownerQuery ? ', ' + t('table.owner') + ': ' + ownerQuery : '') +
(activeView === 'list' ? ' ' + t('tabs.list') : '') +
(listTab === 'onSale' ? ' ' + t('tabs.onSale', { nativeCurrency }) : '') +
(listTab === 'onSale' ? ' ' + 'On sale for tokens': '') +
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's use t('tabs.onSale')

/>
</div>
)}
{!nftExplorer && saleCurrencyIssuer && saleCurrency && (
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why would we make it different for !nftExplorer?
we should keep the logic as we had it without a separation.

do for /nfts/ /nft-explorer it will be the same

@pandablue0809 pandablue0809 requested a review from ihomp July 11, 2025 08:02
@pandablue0809
Copy link
Member Author

@ihomp
fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants